<?php
$fp = fopen("data",'w');
$posts = implode(",",$_POST);
fwrite($fp,$posts);
echo "{'success':'ok','info':'aaa'}";
exit();
?>